Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.407/2.407, allocations: 390.3 MB / 0.6653 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003821, allocations: 12 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7719/0.7723, allocations: 142.3 MB / 0.9536 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.002496/0.7748, allocations: 2.32 MB / 0.9559 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00234/0.7772, allocations: 1.836 MB / 0.9577 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.7773, allocations: 2.062 kB / 0.9577 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.7775, allocations: 38.67 kB / 0.9577 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004242/0.778, allocations: 119.2 kB / 0.9578 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005944/0.7786, allocations: 206.9 kB / 0.958 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.7788, allocations: 177.5 kB / 0.9582 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005915/0.7794, allocations: 346.2 kB / 0.9585 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.7796, allocations: 85.7 kB / 0.9586 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.7799, allocations: 105.3 kB / 0.9587 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.7799, allocations: 9.375 kB / 0.9587 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004225/0.7803, allocations: 244.9 kB / 0.9589 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.568e-05/0.7804, allocations: 83.41 kB / 0.959 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.744e-05/0.7805, allocations: 60.83 kB / 0.9591 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.7808, allocations: 343.5 kB / 0.9594 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.7809, allocations: 0 / 0.9594 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7809, allocations: 3.938 kB / 0.9594 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.7809, allocations: 0 / 0.9594 GB, free: 3.742 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007903/0.7817, allocations: 0.5145 MB / 0.9599 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.7817, allocations: 12.91 kB / 0.9599 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.089e-05/0.7818, allocations: 63.12 kB / 0.96 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007937/0.7826, allocations: 119.3 kB / 0.9601 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.7829, allocations: 248.4 kB / 0.9603 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.7829, allocations: 16.77 kB / 0.9603 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.13e-05/0.783, allocations: 16.38 kB / 0.9604 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005966/0.7836, allocations: 391.9 kB / 0.9607 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.7836, allocations: 5.328 kB / 0.9607 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/0.7836, allocations: 6.75 kB / 0.9607 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.601e-05/0.7837, allocations: 24.33 kB / 0.9608 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006198/0.7843, allocations: 374.9 kB / 0.9611 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/0.7861, allocations: 1.727 MB / 0.9628 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006186/0.7867, allocations: 349 kB / 0.9631 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.7868, allocations: 92.08 kB / 0.9632 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.7869, allocations: 32.44 kB / 0.9633 GB, free: 484 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 1.614e-06/0.7869, allocations: 4.969 kB / 0.9633 GB, free: 480 kB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.007254/0.7941, allocations: 2.07 MB / 0.9653 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.7942, allocations: 85.06 kB / 0.9654 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.7944, allocations: 178.8 kB / 0.9655 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.7945, allocations: 35.67 kB / 0.9656 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.037e-05/0.7946, allocations: 149.4 kB / 0.9657 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.7947, allocations: 122.2 kB / 0.9658 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.7947, allocations: 4.812 kB / 0.9658 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.7948, allocations: 332.2 kB / 0.9662 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004912/0.7953, allocations: 258 kB / 0.9664 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005198/0.7959, allocations: 342.5 kB / 0.9667 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005199/0.7964, allocations: 291.6 kB / 0.967 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.7964, allocations: 0 / 0.967 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001217/0.7976, allocations: 0.6558 MB / 0.9676 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003131/0.798, allocations: 0.8789 MB / 0.9685 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.798, allocations: 2.625 kB / 0.9685 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.798, allocations: 8.469 kB / 0.9685 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009084/0.7989, allocations: 149.7 kB / 0.9687 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.7989, allocations: 4.469 kB / 0.9687 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000419/0.7993, allocations: 62.02 kB / 0.9687 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.484e-05/0.7994, allocations: 19.17 kB / 0.9687 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.336e-06/0.7994, allocations: 8.562 kB / 0.9687 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001127/0.8005, allocations: 0.5876 MB / 0.9693 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.8006, allocations: 5.406 kB / 0.9693 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-06/0.8006, allocations: 8.125 kB / 0.9693 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008214/0.8014, allocations: 151.8 kB / 0.9695 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.8014, allocations: 8.609 kB / 0.9695 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003825/0.8018, allocations: 53.39 kB / 0.9695 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/0.8019, allocations: 14.84 kB / 0.9696 GB, free: 12.4 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002279/0.8021, allocations: 246.7 kB / 0.9698 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.009e-05/0.8022, allocations: 26.05 kB / 0.9698 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.8035, allocations: 0.6809 MB / 0.9705 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.8036, allocations: 4.156 kB / 0.9705 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.8036, allocations: 0 / 0.9705 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.8036, allocations: 9.094 kB / 0.9705 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/0.8059, allocations: 1.389 MB / 0.9718 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.8059, allocations: 2.781 kB / 0.9718 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005903/0.8065, allocations: 127.5 kB / 0.972 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.8065, allocations: 4.094 kB / 0.972 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.248e-05/0.8065, allocations: 8.406 kB / 0.972 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.8066, allocations: 4.031 kB / 0.972 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.8066, allocations: 1.969 kB / 0.972 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.8077, allocations: 0.8169 MB / 0.9728 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.8079, allocations: 141.3 kB / 0.9729 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.258e-05/0.8079, allocations: 12.28 kB / 0.9729 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.8083, allocations: 48.84 kB / 0.973 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.406e-05/0.8084, allocations: 36.55 kB / 0.973 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.8084, allocations: 9.375 kB / 0.973 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001308/0.8086, allocations: 153.2 kB / 0.9732 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8086, allocations: 4 kB / 0.9732 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006819/0.8093, allocations: 143.8 kB / 0.9733 GB, free: 9.684 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001644/0.8109, allocations: 1.951 MB / 0.9752 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001712/0.8127, allocations: 0.8707 MB / 0.9761 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.8127, allocations: 1.312 kB / 0.9761 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005049/0.8132, allocations: 264.5 kB / 0.9763 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.8136, allocations: 42.36 kB / 0.9764 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004099/0.8177, allocations: 3.608 MB / 0.9799 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.8181, allocations: 0.7887 MB / 0.9807 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005146/0.8186, allocations: 170.8 kB / 0.9808 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.8188, allocations: 79.41 kB / 0.9809 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.8188, allocations: 0 / 0.9809 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.8381, allocations: 6.721 MB / 0.9875 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/0.8384, allocations: 192.3 kB / 0.9876 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.609, allocations: 2.344 kB / 0.9876 GB, free: 12.5 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat does not exist to compare? outputFormat=mat