Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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.0009554/0.0009554, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001173/0.001172, allocations: 172.7 kB / 15.95 MB, free: 208 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.447/1.447, allocations: 223.3 MB / 240 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.593/2.593, allocations: 409.4 MB / 0.684 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003682, allocations: 8 kB / 0.8378 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7772/0.7776, allocations: 146.8 MB / 0.9811 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004066/0.7817, allocations: 3.257 MB / 0.9843 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002589/0.7843, allocations: 1.685 MB / 0.986 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002066/0.7846, allocations: 15.88 kB / 0.986 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.7848, allocations: 51.5 kB / 0.986 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005955/0.7854, allocations: 234.8 kB / 0.9863 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004959/0.7859, allocations: 195.5 kB / 0.9864 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005966/0.7865, allocations: 0.6283 MB / 0.9871 GB, free: 192 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005633/0.7871, allocations: 330.5 kB / 0.9874 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002945/0.7874, allocations: 203 kB / 0.9876 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002767/0.7877, allocations: 215.1 kB / 0.9878 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 3.426e-05/0.7877, allocations: 12 kB / 0.9878 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000262/0.788, allocations: 131.8 kB / 0.9879 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.7881, allocations: 111.6 kB / 0.988 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 9.112e-05/0.7882, allocations: 97.45 kB / 0.9881 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0004219/0.7886, allocations: 437.1 kB / 0.9885 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7887, allocations: 0 / 0.9885 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7887, allocations: 0 / 0.9885 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.004e-06/0.7887, allocations: 0 / 0.9885 GB, free: 14.65 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0009875/0.7897, allocations: 0.67 MB / 0.9892 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.7897, allocations: 8.031 kB / 0.9892 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.454e-05/0.7898, allocations: 78.45 kB / 0.9893 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008127/0.7906, allocations: 131.2 kB / 0.9894 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/0.7911, allocations: 366.6 kB / 0.9897 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.7911, allocations: 20.66 kB / 0.9898 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.201e-05/0.7912, allocations: 39.94 kB / 0.9898 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007701/0.792, allocations: 0.5437 MB / 0.9903 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.792, allocations: 11.92 kB / 0.9903 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/0.792, allocations: 20 kB / 0.9904 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.661e-05/0.7921, allocations: 36.55 kB / 0.9904 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006866/0.7928, allocations: 417.7 kB / 0.9908 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002671/0.7955, allocations: 3.334 MB / 0.994 GB, free: 8.578 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006418/0.7961, allocations: 343.6 kB / 0.9944 GB, free: 8.234 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.7965, allocations: 180.8 kB / 0.9945 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.7965, allocations: 4 kB / 0.9945 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.7965, allocations: 34.56 kB / 0.9946 GB, free: 8.008 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=26): time 1.954e-06/0.7965, allocations: 0 / 0.9946 GB, free: 8.008 MB / 0.7481 GB Notification: Performance of matching and sorting (n=27): time 0.00202/0.7986, allocations: 1.089 MB / 0.9956 GB, free: 6.848 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.7986, allocations: 59.62 kB / 0.9957 GB, free: 6.777 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.7989, allocations: 337.6 kB / 0.996 GB, free: 6.441 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.799, allocations: 29.7 kB / 0.9961 GB, free: 6.406 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.7991, allocations: 243.5 kB / 0.9963 GB, free: 6.164 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.01e-05/0.7992, allocations: 98.67 kB / 0.9964 GB, free: 6.066 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.7993, allocations: 8 kB / 0.9964 GB, free: 6.059 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.7994, allocations: 346.8 kB / 0.9967 GB, free: 5.711 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.7997, allocations: 156.8 kB / 0.9969 GB, free: 5.555 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000346/0.8, allocations: 295 kB / 0.9971 GB, free: 5.203 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003241/0.8004, allocations: 196.5 kB / 0.9973 GB, free: 5.012 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8004, allocations: 0 / 0.9973 GB, free: 5.012 MB / 0.7481 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009754/0.8014, allocations: 0.5658 MB / 0.9979 GB, free: 4.43 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.8014, allocations: 9.406 kB / 0.9979 GB, free: 4.422 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.8014, allocations: 7.938 kB / 0.9979 GB, free: 4.414 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003028/0.8017, allocations: 98.95 kB / 0.998 GB, free: 4.309 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.8021, allocations: 91.88 kB / 0.9981 GB, free: 4.219 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.8021, allocations: 11.94 kB / 0.9981 GB, free: 4.207 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.8023, allocations: 27.97 kB / 0.9981 GB, free: 4.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.8024, allocations: 20 kB / 0.9981 GB, free: 4.16 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001908/0.8026, allocations: 169.8 kB / 0.9983 GB, free: 3.984 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.567e-05/0.8026, allocations: 43.52 kB / 0.9983 GB, free: 3.941 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008609/0.8035, allocations: 476.2 kB / 0.9988 GB, free: 3.461 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.8035, allocations: 4 kB / 0.9988 GB, free: 3.457 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.8035, allocations: 7.938 kB / 0.9988 GB, free: 3.449 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.8035, allocations: 0 / 0.9988 GB, free: 3.449 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.8049, allocations: 0.9721 MB / 0.9998 GB, free: 2.402 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.8049, allocations: 0 / 0.9998 GB, free: 2.402 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.8052, allocations: 55.84 kB / 0.9998 GB, free: 2.348 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002196/0.8054, allocations: 82.52 kB / 0.9999 GB, free: 2.258 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.8054, allocations: 4.094 kB / 0.9999 GB, free: 2.254 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.8054, allocations: 4 kB / 0.9999 GB, free: 2.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.8054, allocations: 0 / 0.9999 GB, free: 2.25 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009106/0.8064, allocations: 0.5578 MB / 1 GB, free: 1.66 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.8065, allocations: 132.6 kB / 1.001 GB, free: 1.512 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.289e-05/0.8066, allocations: 11.98 kB / 1.001 GB, free: 1.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.8068, allocations: 23.97 kB / 1.001 GB, free: 1.477 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.288e-05/0.8069, allocations: 31.91 kB / 1.001 GB, free: 1.445 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.8069, allocations: 11.95 kB / 1.001 GB, free: 1.434 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002465/0.8072, allocations: 235.2 kB / 1.001 GB, free: 1.207 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8072, allocations: 0 / 1.001 GB, free: 1.207 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000436/0.8076, allocations: 84 kB / 1.001 GB, free: 1.125 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001161/0.8088, allocations: 1.105 MB / 1.002 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0009247/0.8097, allocations: 0.6399 MB / 1.003 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.8097, allocations: 0 / 1.003 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004588/0.8102, allocations: 433.7 kB / 1.003 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006792/0.8109, allocations: 123.2 kB / 1.003 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003487/0.8144, allocations: 2.36 MB / 1.005 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.8149, allocations: 0.8273 MB / 1.006 GB, free: 11.33 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002782/0.8151, allocations: 83.3 kB / 1.006 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.8154, allocations: 127.4 kB / 1.007 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of SimCode: time 9.12e-07/0.8154, allocations: 0 / 1.007 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.8377, allocations: 7.828 MB / 1.014 GB, free: 3.57 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002341/0.838, allocations: 221 kB / 1.014 GB, free: 3.336 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.978/2.815, allocations: 0 / 1.014 GB, free: 3.336 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat does not exist to compare? outputFormat=mat